.p-landing {
  overflow: hidden;
  background-image: url('#{$base_path}/img/game/home-bg.png');

  .citys-card {
    // bottom: 10vh;
  }

  .cp-kv-content {
    margin: 2rem 0;
  }

  .position-center {
    top: calc(50% + 12rem);
    @include transform(translateX(-50%));
  }

  .deco-wrapper {
    width: 100vw;
    height: 100vh;
    position: relative;

    .kv-header-wrapper {
      position: absolute;
      top: calc(50% - 30vh);
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: 10;

      .kv {
        position: absolute;
        object-fit: contain;

        &.kv-title {
          width: 70vw;
          left: 9vw;
        }

        &.kv-subtitle {
          width: 30vw;
          top: 24vw;
          left: 24vw;
        }

        &.kv-title-deco {
          width: 60vw;
          top: 42vw;
          left: -20vw;
        }
      }

    }

    //.kv-title {
    //  width: 60vw;
    //  position: absolute;
    //  left: 20vw;
    //  bottom: calc(50% + 40vw);
    //}

    >.inner {
      width: 100vw;
      height: 100vh;
    }

    .deco {
      position: absolute;
      object-fit: contain;

      &.deco-left {
        top: 0;
        left: 0;
        width: 75vw;
      }


      &.deco-right {
        top: calc(50% - 38vh);
        right: 0;
        width: 60vw;
        height: 135vw;
      }

      &.deco-player {
        top: calc(50% - 15vh);
        right: 8vw;
        width: 38vw;
        z-index: 11;
      }

      &.deco-qi-up {
        top: calc(50% + 4vh);
        right: 0;
        width: 70vw;
        z-index: 10;
      }

      &.deco-car {
        // top: calc(50% + 30vw);
        // left: 10vw;
        width: 80vw;
        //height: 131vw;
        z-index: 11;

        &.deco-car-left {
          top: 29.6vh;
          right: 42vw;
          width: 74px;
        }

        &.deco-car-right {
          top: 50vh;
          right: 33vw;
          width: 102px;
        }

        &.home-icon-1 {
          bottom: 11vh;

        }

        &.home-icon-2 {
          bottom: 11vh;
          width: auto;
          right: 0;
        }
      }

      &.deco-qi-main {
        top: calc(50% + 34vw);
        z-index: 12;
        left: 0;
        width: 100vw;
      }

      >.img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      &.kv-planet-pink {
        bottom: calc(50% + 15vw);
        left: 36.5vw;
        width: 25vw;
        height: 25vw;
        z-index: 10;
      }

      &.kv-astronaut {
        top: calc(50% - 30vw);
        left: 25vw;
        width: 50vw;
        height: 131vw;
        z-index: 11;
      }

      &.kv-planet-main {
        bottom: 0;
        left: -15vw;
        width: 130vw;
        height: 70vw;
        z-index: 9;
      }

      &.deco-cloud-b-l {
        bottom: 0;
        width: 45vw;
        height: 27vw;
        z-index: 13;
      }

      &.deco-cloud-b-r {
        right: 0;
        bottom: 0;
        width: 70vw;
        height: 31vw;
        z-index: 12;
      }

      &.deco-cloud-long {
        width: 100vw;
        height: 42vw;
        bottom: 36vw;
        z-index: 8;
      }

      &.deco-planet-t {
        top: -10vw;
        width: 40vw;
        height: 40vw;
        right: -10vw;
      }

      &.deco-circle {
        top: calc(50% - 100vw);
        width: 50vw;
        height: 50vw;
        left: -5vw;
      }

      &.deco-planet-b {
        top: 45%;
        width: 40vw;
        height: 40vw;
        right: -15vw;
      }

      &.deco-satellite {
        top: calc(50% - 20vw);
        width: 22vw;
        height: 22vw;
        left: 3vw;
      }
    }


    .deco {}
  }

  .landing-footer {
    position: fixed;
    bottom: 5vh;
    left: 0;
    width: 100%;
    z-index: 99;
    text-align: center;
    min-height: 4rem;

    >.inner {
      display: flex;
      flex-direction: column;
      width: 100%;
      align-items: center;

      .act-btn {
        margin-bottom: 1rem;
      }
    }
  }


}

.human-check {
  background: #fff;
  text-align: center;
  padding: 1rem;
  width: 100vw;
  min-height: 200px;
  @include boxSize();

  .title {
    padding: 1.6rem 0;
  }

  #nc {
    margin: 0 auto;
  }
}


.adm-modal-body.draw-result {
  background-color: transparent;
  padding-top: 0 !important;

  .adm-modal-content {
    // padding: 0;
    max-height: 85vh;
  }

  .operation {
    // padding: 0 60px;
    box-sizing: border-box;
    bottom: -45px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    .adm-space {
      // width: ;
      flex: 0 0 90%;
      align-items: center;
    }
  }

  @keyframes fade-in-out {

    0%,
    100% {
      opacity: 0;
      /* 开始和结束时背景图像透明 */
    }

    50% {
      opacity: 1;
      /* 在中间时背景图像完全可见 */
    }
  }

  .draw-result-content {
    position: relative;
    width: 82vw;
    max-height: none;
    box-sizing: border-box;

    .card-bg {
      width: 100%;
      animation: fade-in-out 2s ease-in-out infinite;
    }

    /* 使用名为fade-in-out的动画 */
    .city-card {
      width: 73vw;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }

    img {
      // max-width: 100%;
    }
  }


}

.citys-card {
  padding: 0 20px;
  position: absolute;
  width: 100%;
  bottom: 20px;
  box-sizing: border-box;
  background-color: transparent;
  z-index: 99;

  img {

    width: 100%;
    height: 100%;
    display: block;
    box-sizing: border-box;

    &.no-has {
      filter: grayscale(100%);
    }
  }
}